home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2772 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: oxy.rust.net!usenet
  2. From: ebennett@rust.net
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: test
  5. Date: Fri, 19 Jan 1996 03:56:34 GMT
  6. Organization: Rust Net - High Speed Internet in Detroit  810-642-2276
  7. Message-ID: <4dmq6p$jov@oxy.rust.net>
  8. References: <Pine.OSF.3.91.960109162651.13664E-100000@reno.WPI.EDU> <Pine.SOL.3.91.960117225017.12395B-100000@eesun1>
  9. NNTP-Posting-Host: liv-13.rust.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. Sanjay Joshi <joshi@eesun1.tamu.edu> wrote:
  13.  
  14. >Hi
  15.  
  16. >Can anybody tell me the difference between header files and library files?
  17.  
  18. >Thanks
  19.  
  20. >Sanjay
  21.  
  22. Header files contain the prototypes (definitions) for classes,
  23. external methods, etc.  They may also contain inline methods.  Header
  24. files are source code, processed by the compiler.
  25.  
  26. Libraries are the object modules (machine code) which implements the
  27. classes, methods, etc. defined in the header files.  The object
  28. modules are output from the compiler, and placed into a library by
  29. some program called a librarian. (TLIB for Borland).  The linker then
  30. reads the library when building a program to pull out object modules
  31. which are referenced in the program.
  32.  
  33. Hope this helps
  34.  
  35. Earl
  36.  
  37.  
  38.